package com.practice.ajCollections010.set.hashset;

import java.util.HashSet;

/**
 * 转换
 */
public class Convert {
    public static void main(String[] args) {
        HashSet<String> set = new HashSet<>();

        set.add("A");
        set.add("B");
        set.add("C");

        Object[] objects = set.toArray();

        String s = set.toString();
        System.out.println(s);
    }
}
